/**
 * 
 */
package neptune.web.client.model.topology;

/**
 * @author Roberto Bifulco [info@robertobifulco.it, robertobifulco.it]
 * 
 */
public class SerializableIPAddress extends SerializableAddress {

	/**
	 * The IP protocol version (4 or 6)
	 */
	private int version;
	/**
	 * La subnet mask per questo indirizzo ip
	 */
	private String subnetMask;
	/**
	 * True se l'interfaccia e' appartenente alla rete di controllo
	 */
	private boolean isControlAddress;

	/**
	 * @return the version
	 */
	public int getVersion() {
		return version;
	}

	/**
	 * @param version
	 *            the version to set
	 */
	public void setVersion(int version) {
		this.version = version;
	}

	/**
	 * @return the subnetMask
	 */
	public String getSubnetMask() {
		return subnetMask;
	}

	/**
	 * @param subnetMask
	 *            the subnetMask to set
	 */
	public void setSubnetMask(String subnetMask) {
		this.subnetMask = subnetMask;
	}

	/**
	 * @return the isControlAddress
	 */
	public boolean isControlAddress() {
		return isControlAddress;
	}

	/**
	 * @param isControlAddress
	 *            the isControlAddress to set
	 */
	public void setControlAddress(boolean isControlAddress) {
		this.isControlAddress = isControlAddress;
	}

}
